//一级
import login from '@/views/login.vue'


//二级
import My from '@/views/my.vue'
import Home from '@/views/home.vue'
import Information from '@/views/information.vue'
import Music from '@/views/music.vue'

import Message from '@/seconds/message.vue'




const routes = [
    {
        path:'/',
        redirect:'/login/home'
    },
    {
        path:'/login',
        component:login,
        children:[
            {
                name:'home',
                path:'home',
                component:Home
            },
            {
                name:'information',
                path:'information',
                component:Information
            },
            {
                name:'music',
                path:'music',
                component:Music,
        
            },
            {
                name:'my',
                path:'my',
                component:My
            },
        ]
    },
    {
        name:'message',
        path:'/message',
        component:Message
    },
    

]
export default routes